package com.m4f.appengine.utils.security.user.token;

import java.util.Collection;
import org.springframework.security.authentication.AbstractAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

public class GoogleAccountAuthenticationToken extends AbstractAuthenticationToken {
	
	private Object principal;
	private Object credentials;
	
	public GoogleAccountAuthenticationToken(java.lang.Object aPrincipal, 
			java.lang.Object aCredentials) {
		super(null);
		this.principal = aPrincipal;
		this.credentials = aCredentials;
	}

	@Override
	public Object getCredentials() {
		return this.credentials;
	}

	@Override
	public Object getPrincipal() {
		return this.principal;
	}

}
